package com.designpatterns.factory.simplefactory;

import com.designpatterns.factory.Soft;

/**
 * @author Tinu 1810989@qq.com
 */
public class SimpleFactoryTest {
    public static void main(String[] args) {
        Soft soft = SimpleFactory.create("CMS");
        soft.create();


        soft = SimpleFactory.create("OA");
        soft.create();

        soft = SimpleFactory.create("HRM");
        soft.create();
    }
}
